<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
   <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   </h:head>
    <h:body onload="dlg3.show();" >
<!-- start of the photos bar -->
             <h:panelGroup id="messagePanel" layout="block">
                    <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
                </h:panelGroup>
            <h:form>
                
                <center>
                <p:commandButton id="effectsDialogButton" value="دخول" onclick="dlg3.show();" type="button"  />
                <br/>
                <img src="img_1/logo.gif" alt=""/>
                </center>
<h:panelGrid columns="1" cellpadding="5">  

  
</h:panelGrid>  
 <p:dialog header="الدخول" widgetVar="dlg3" showEffect="explode" hideEffect="bounce" height="100">  
    
     <h:inputText id="input01" value="#{employeeController.userName}"></h:inputText>
                <label for="input01">اسم الدخول</label>
                <br/>
                
                <h:inputSecret id="input02" value="#{employeeController.password}"/>
                <label for="input02">كلمة المرور</label>
                <br/>
                      <h:commandButton action="#{employeeController.loginCheck}" value="#{bundle.EmployeesLoginLink}" />
           
</p:dialog>  
            </h:form>    
         
      </h:body>
      
</html>